<template>
  <div class="container">
    <route-link to="">
      <el-button
          type="primary"
          @click="pushParsingXMLTask"
      >
        发布解析xml任务
      </el-button>
    </route-link>
  </div>
</template>

<script>
import {getCurrentInstance} from "vue";

export default {
  name: "composite",
  setup() {
    const { proxy } = getCurrentInstance();
    function pushParsingXMLTask() {
      proxy.$axios.post("/pushParsingXMLTask",[])
          .then((response) => {
            console.log(response.data)
          })
    }
    return {
      pushParsingXMLTask
    }
  }
}
</script>

<style scoped>
.container {
  width: 80%;
  margin:0 auto;
}
</style>